package com.iseastar.guojiang.app;

import android.annotation.SuppressLint;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import droid.frame.utils.android.Notify;

public class ForeService extends Service {

	@Override
	public IBinder onBind(Intent intent) {
		return null;
	}

	@SuppressLint("WrongConstant")
	@Override
	public int onStartCommand(Intent intent, int flags, int startId) {
		Notify.getInstance().startForeground(this);
		flags = START_STICKY;
		return super.onStartCommand(intent, flags, startId);
	}

}
